package cn.stylefeng.guns.modular.manager.mapper;

import cn.stylefeng.guns.modular.manager.entity.FlowServiceAreaPrice;
import cn.stylefeng.guns.modular.manager.model.params.FlowServiceAreaPriceParam;
import cn.stylefeng.guns.modular.manager.model.params.FlowServiceDistancePriceParam;
import cn.stylefeng.guns.modular.manager.model.result.FlowServiceAreaPriceResult;
import cn.stylefeng.guns.modular.manager.model.result.FlowServiceDistancePriceResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FlowServiceAreaPriceMapper extends BaseMapper<FlowServiceAreaPrice> {
    /**
     * 获取列表
     *
     * @author yumker
     * @Date 2021-01-07
     */
    List<FlowServiceAreaPriceResult> customList(@Param("paramCondition") FlowServiceAreaPriceParam paramCondition);

    /**
     * 获取map列表
     *
     * @author yumker
     * @Date 2021-01-07
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") FlowServiceAreaPriceParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author yumker
     * @Date 2021-01-07
     */
    Page<FlowServiceAreaPriceResult> customPageList(@Param("page") Page page, @Param("paramCondition") FlowServiceAreaPriceParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author yumker
     * @Date 2021-01-07
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") FlowServiceAreaPriceParam paramCondition);
}
